package com.jeecg.p3.base.util;

import java.io.File;
import java.text.DecimalFormat;

public class ComCode {
    /**
     * 金钱格式化数据
     */
    public static DecimalFormat decimalFormat = new DecimalFormat("###,###.00");
    /************************微信公众号开始*********************************/
    public static String authorize = "https://open.weixin.qq.com/connect/oauth2/authorize?";
    public static String baseWxUrl = "&response_type=code&scope=snsapi_base&state=123";
    public static String userinfoUrl = "&response_type=code&scope=snsapi_userinfo&state=123";
    public static String getCodeUrl = "https://api.weixin.qq.com/sns/oauth2/access_token?";
    public static String getUserInfo = "https://api.weixin.qq.com/sns/userinfo?";
    public static String appid = "wx06f77f0f29884605";
    public static String secret = "e52b45f616032fb9e61ec4730b7e789a";

    /************************微信公众号结束*********************************/
    public static String separator = "/";
    /**
     * 海报上传路径
     */
    public static String poster = separator + "poster" + separator;//海报上传路径
    public static String posterType = separator + "posterType" + separator;//海报上传路径
    /**
     * 海报上传路径
     */
    public static String wxShare = separator + "wxShare" + separator;//海报上传路径

    /**
     * 试卷上传路径
     */
    public static String examQues = separator + "examQues" + separator;//试卷上传路径
    /**
     * 正常状态
     */
    public static String statusNormal = "1";
    public static String isCorrect = "1";//正确（考试使用）
    /**
     * 删除状态
     */
    public static String statusDel = "0";
    public static String isError = "1";//错误（考试使用）

    public static String fenxiang = "fenxiang";//分享海报
    public static String luodi = "luodi";//落地海报

    public static String systemUrl = "http://www.gysc1808.com";

    public static String defaultFenxiang = "D:\\profile\\poster\\background.png";//默认海报背景
    public static String defaultLuodi = "D:\\profile\\poster\\luodiBackground.png";//默认落地海报背景


    public static String select = "on";//switch选择器被选中

    public static String day = "day";//日
    public static String week = "week";//周
    public static String month = "month";//月

}
